iconview: Stop drawing a background
authorTimm Bäder <mail@baedert.org>
Mon, 5 Jun 2017 09:22:11 +0000 (11:22 +0200)
committerMatthias Clasen <mclasen@redhat.com>
Thu, 20 Jul 2017 01:27:13 +0000 (21:27 -0400)
GtkWidget is doing that automatically now.

gtk/gtkiconview.c

index fcb25b566375aaec62aa191aadb6d6f2f5f6edbf..89d28c31b2da1e95f8b7c1030a6be51b73ad1cfc 100644 (file)
@@ -1731,10 +1731,6 @@ gtk_icon_view_snapshot (GtkWidget   *widget,
   icon_view = GTK_ICON_VIEW (widget);
 
   context = gtk_widget_get_style_context (widget);
-  gtk_snapshot_render_background (snapshot, context,
-                                  0, 0,
-                                  gtk_widget_get_allocated_width (widget),
-                                  gtk_widget_get_allocated_height (widget));
 
   gtk_snapshot_push_clip (snapshot,
                           &GRAPHENE_RECT_INIT (